package com.zj.config;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;

@PropertySource("classpath:config.properties")
@ComponentScan(value = "${basePackages}",nameGenerator = MyBeaNameGenerator.class)//component的扫描包可以传入变量
public class SpringConfiguration {
}
